package com.nl.controller.web.bean;


import com.nl.controller.web.util.SetBeanUtil;

public class SmsRule {
    private String roleId; //角色id
    private String roleName; //角色名称
    private String duty;    //角色的职责
    private String dutyName;
    private String createTime;  //角色创建的时间
    private String createOperator;  //角色创建的操作员的手机号
    private String modifyTime;   //角色修改时间
    private String modifyOperator;  //角色修改操作员的手机号
    private String functionId;//用户对应的function的id

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public String getDutyName() {
        return SetBeanUtil.getDuty(this.duty);
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getCreateTime() {
        return SetBeanUtil.timeSubString(this.createTime);
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateOperator() {
        return createOperator;
    }

    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }

    public String getModifyTime() {
        return SetBeanUtil.timeSubString(this.modifyTime);
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getModifyOperator() {
        return modifyOperator;
    }

    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }

    public String getFunctionId() {
        return functionId;
    }

    public void setFunctionId(String functionId) {
        this.functionId = functionId;
    }
}
